package cn.edu.bjfu.practice.practice.teacher.service;

import cn.edu.bjfu.practice.practice.teacher.pojo.domain.Document;
import cn.edu.bjfu.practice.practice.teacher.pojo.query.AddCaseForm;
import cn.edu.bjfu.practice.practice.teacher.pojo.query.AddOneResForm;
import cn.edu.bjfu.practice.practice.teacher.pojo.query.ModifyCaseForm;
import cn.edu.bjfu.practice.practice.teacher.pojo.vo.CaseView;

import java.io.IOException;
import java.util.List;

public interface CaseService {

    public List<String> addCase(AddCaseForm form) throws IOException;

    public List<Document> selectCase(Integer id);

    public CaseView getCase(Integer id);

    public void modifyCase(ModifyCaseForm form);

    public void deleteCase(Integer id);

    public int addResource(AddOneResForm form);

    public void deleteResource(Integer id);
}
